﻿using System.Web.Http;

namespace UserApi.Controllers
{
    public class HomeController : ApiController
    {
        /// <summary>
        /// 获取用户信息
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        public string Get()
        {
            return "用户Api";
        }

        /// <summary>
        /// 获取商品信息v3版本
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        [Route("Home/get/v3")]
        public string Get1()
        {
            return "用户Api v3版本";
        }
    }
}
